home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / utils / 2l8ce112 / ce.txt < prev    next >
Encoding:
Text File  |  1994-06-20  |  3.2 KB  |  100 lines

  1. ************************************************************************
  2. ** 2L8 Cursor Editor                            Too Late Version 1.12 **
  3. * Jouni Miettunen * jon@stekt.oulu.fi * Oulu * Finland * Europe * 1994 *
  4.  
  5. Copyright (c) 1994 by Jouni Miettunen. All Rights Reserved.
  6. Freeware - use, share and enjoy!
  7.  
  8.     Half our life is spent trying to find something
  9.     to do with the time we have rushed through life
  10.     trying to save.
  11.                 Will Rogers (1879-1935)
  12.  
  13. ** WHAT IT IS
  14.  
  15. Some time ago I needed a cursor editor, but couldn't find any I would've
  16. liked.. So I designed all my cursors in a Macintosh. Now I don't need
  17. such a program anymore, so I wrote it. Yep, I know, it doesn't make any
  18. sense. Anyway, I did it and now I release it as freeware hoping someone
  19. else would find it useful.
  20.  
  21. ** WHAT DO YOU NEED
  22.  
  23. 8086+, standard VGA (640x480x16) and a mouse.
  24.  
  25. ** HOW DO YOU USE IT
  26.  
  27. This program is self-documenting, just press the buttons and see, what
  28. happens. Right mouse button reacts faster in some places.
  29.  
  30. ** WHAT DOES IT DO
  31.  
  32. Handle separate pixels one at a time. Handle cursor image, mask or both
  33. at the same time. Move cursor hotspot around (the blue dot).
  34.  
  35. Shift up/down/left/right, rotate +/- 90 degrees, horizontal/vertical
  36. mirror, inverse/clear/fill all, random. Testing, reset as arrow.
  37.  
  38. Copy image to mask, mask to image or swap them. The final design can be
  39. saved as a file, 99 files per extension (asm, c, hex, pas).
  40.  
  41. ** SAVING AS A FILE
  42.  
  43. .asm - just the variables
  44.  
  45. .c - the used structure
  46.  
  47. typedef struct {
  48.     unsigned int    hotx;        /* cursor hotspot x place */
  49.     unsigned int    hoty;        /* cursor hotspot y place */
  50.     int        data[32];    /* cursor mask and data */
  51. } CURSOR;
  52.  
  53. .hex - write a converter for your favorite language/coding style
  54.  
  55. 1st cursor hotspot x-offset, then cursor hotspot y-offset
  56. next 2 rows are cursor mask
  57. next 2 rows are cursor image
  58.  
  59. .pas - the used structure
  60.  
  61. type
  62.   PointerRec =
  63.     record
  64.     x,y : Integer;            { hot spot }
  65.     buf : array [1..32] of Word;
  66.     { First 16 is mask, second 16 cursor data }
  67.     end;
  68.  
  69. ** WANT MORE ??
  70.  
  71. Sure, why not! If you have a good idea and can even give some strong and
  72. convincing arguments for it, I might listen to you and quite seriously
  73. consider upgrading the program.
  74.  
  75. In any case it's always nice to hear from happy users.. Actually from
  76. any users at all. Such an incident would also noticeably increase the
  77. possibility that I might a) update this b) release something else.
  78.  
  79. ** HISTORY
  80.  
  81. 1.0    I got bored one day, so I wrote it
  82. 1.1    1st release: added hotspot and cleaned up the GUI
  83. 1.11    Added/changed Pascal structure definition, thanx Ronny!
  84. 1.12    just updated the included text files
  85.  
  86. ** THE AUTHOR
  87.  
  88. That's all folks! It's such a simple program I don't expect any bugs to
  89. surface, but if they do, please let me know. Suggestions are naturally
  90. welcome, but I'm happy with it as-is. Hope you can find some use for it.
  91.  
  92.     Mr. Jouni Miettunen
  93.     Rautatienkatu 20 A 10
  94.     FIN-90100 OULU
  95.     FINLAND - EUROPE
  96.  
  97. * Jouni Miettunen * jon@stekt.oulu.fi * Oulu * Finland * Europe * 1994 *
  98. ** 2L8 Cursor Editor                            Too Late Version 1.12 **
  99. ************************************************************************
  100.